package com.pinda.controller;

import com.pinda.auth.view.ConfigView;
import com.pinda.auth.view.PdAuthMenuView;
import com.pinda.commonutils.Result;
import com.pinda.commonutils.StatusCode;
import com.pinda.service.IPdAuthMenuService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 菜单 前端控制器
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-13
 */
@RestController
@RequestMapping("/pd_auth_menu")
public class PdAuthMenuController {
    @Resource
    private IPdAuthMenuService iPdAuthMenuService;

    @RequestMapping("findMenuResources")
    public Result<PdAuthMenuView> findMenuResources(){
        return new Result<PdAuthMenuView>(true, StatusCode.OK,"查询成功",this.iPdAuthMenuService.findMenuResourcesService());
    }
}







